home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Form6
- BackColor = &H00C07800&
- BorderStyle = 0 'None
- Caption = "Form6"
- ClientHeight = 6945
- ClientLeft = 0
- ClientTop = 0
- ClientWidth = 5775
- LinkTopic = "Form6"
- ScaleHeight = 6945
- ScaleWidth = 5775
- ShowInTaskbar = 0 'False
- StartUpPosition = 2 'CenterScreen
- Begin VB.CheckBox Check1
- Appearance = 0 'Flat
- BackColor = &H00C07800&
- Caption = "Golf Colors"
- ForeColor = &H80000008&
- Height = 315
- Index = 4
- Left = 1725
- TabIndex = 28
- ToolTipText = "Color that remind me of golf"
- Top = 4500
- Width = 1590
- End
- Begin VB.CheckBox Check1
- Appearance = 0 'Flat
- BackColor = &H00C07800&
- Caption = "American Colors"
- ForeColor = &H80000008&
- Height = 315
- Index = 3
- Left = 1725
- TabIndex = 27
- ToolTipText = "American Color. the good old reb white and blue"
- Top = 4200
- Width = 1590
- End
- Begin VB.CheckBox Check1
- Appearance = 0 'Flat
- BackColor = &H00C07800&
- Caption = "Easter Colors"
- ForeColor = &H80000008&
- Height = 315
- Index = 2
- Left = 225
- TabIndex = 26
- ToolTipText = "Nothing like Easter"
- Top = 4800
- Width = 1440
- End
- Begin VB.CheckBox Check1
- Appearance = 0 'Flat
- BackColor = &H00C07800&
- Caption = "Grey"
- ForeColor = &H80000008&
- Height = 315
- Index = 1
- Left = 225
- TabIndex = 25
- ToolTipText = "This is one of my favoirt"
- Top = 4500
- Width = 1440
- End
- Begin VB.CheckBox Check1
- Appearance = 0 'Flat
- BackColor = &H00C07800&
- Caption = "Origanal"
- ForeColor = &H80000008&
- Height = 315
- Index = 0
- Left = 225
- TabIndex = 24
- ToolTipText = "This is what the program normal has"
- Top = 4200
- Width = 1440
- End
- Begin VB.PictureBox Picture1
- Appearance = 0 'Flat
- BackColor = &H80000005&
- ForeColor = &H80000008&
- Height = 540
- Index = 7
- Left = 5025
- ScaleHeight = 510
- ScaleWidth = 510
- TabIndex = 22
- Top = 2250
- Width = 540
- End
- Begin VB.PictureBox Picture1
- Appearance = 0 'Flat
- BackColor = &H80000005&
- ForeColor = &H80000008&
- Height = 540
- Index = 6
- Left = 2250
- ScaleHeight = 510
- ScaleWidth = 510
- TabIndex = 21
- ToolTipText = "This is the color that will be used as the bordor colr of buttons and frams"
- Top = 2250
- Width = 540
- End
- Begin VB.PictureBox Picture1
- Appearance = 0 'Flat
- BackColor = &H80000005&
- ForeColor = &H80000008&
- Height = 540
- Index = 5
- Left = 5025
- ScaleHeight = 510
- ScaleWidth = 510
- TabIndex = 20
- ToolTipText = "This is the color that will be the buttons text color when the butten is depressed"
- Top = 1650
- Width = 540
- End
- Begin VB.PictureBox Picture1
- Appearance = 0 'Flat
- BackColor = &H80000005&
- ForeColor = &H80000008&
- Height = 540
- Index = 4
- Left = 2250
- ScaleHeight = 510
- ScaleWidth = 510
- TabIndex = 19
- ToolTipText = "This is the color that will be the BackRound color of the button when the butten is push Down"
- Top = 1650
- Width = 540
- End
- Begin VB.PictureBox Picture1
- Appearance = 0 'Flat
- BackColor = &H80000005&
- ForeColor = &H80000008&
- Height = 540
- Index = 3
- Left = 5025
- ScaleHeight = 510
- ScaleWidth = 510
- TabIndex = 18
- ToolTipText = "This color will be the color of the text boxes text color... Cunfusing Huhh"
- Top = 1050
- Width = 540
- End
- Begin VB.PictureBox Picture1
- Appearance = 0 'Flat
- BackColor = &H80000005&
- ForeColor = &H80000008&
- Height = 540
- Index = 2
- Left = 2250
- ScaleHeight = 510
- ScaleWidth = 510
- TabIndex = 17
- ToolTipText = "this color will be used as the backround color of text boxes"
- Top = 1050
- Width = 540
- End
- Begin VB.PictureBox Picture1
- Appearance = 0 'Flat
- BackColor = &H80000005&
- ForeColor = &H80000008&
- Height = 540
- Index = 1
- Left = 5025
- ScaleHeight = 510
- ScaleWidth = 510
- TabIndex = 16
- ToolTipText = "This is the color that will be the program Back Groung Color"
- Top = 450
- Width = 540
- End
- Begin VB.PictureBox Picture9
- Appearance = 0 'Flat
- BackColor = &H80000005&
- ForeColor = &H80000008&
- Height = 765
- Left = 150
- ScaleHeight = 735
- ScaleWidth = 810
- TabIndex = 15
- ToolTipText = "Preview of a color box"
- Top = 5925
- Width = 840
- End
- Begin VB.TextBox Text1
- Appearance = 0 'Flat
- Height = 390
- Left = 1050
- TabIndex = 14
- Text = "Preview Text Box"
- ToolTipText = "This is a text box preview"
- Top = 5925
- Width = 4590
- End
- Begin VB.PictureBox Picture1
- Appearance = 0 'Flat
- BackColor = &H80000005&
- ForeColor = &H80000008&
- Height = 540
- Index = 0
- Left = 2250
- ScaleHeight = 510
- ScaleWidth = 510
- TabIndex = 2
- ToolTipText = "This is the color that will be the program text color"
- Top = 450
- Width = 540
- End
- Begin VB.Label Label13
- Alignment = 2 'Center
- BackColor = &H00000000&
- BackStyle = 0 'Transparent
- Caption = "PreSet Settings"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 12
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00FFFFFF&
- Height = 315
- Left = 75
- TabIndex = 23
- Tag = "made by leo/jason"
- ToolTipText = "Setting that have been predifined"
- Top = 3825
- Width = 5640
- End
- Begin VB.Shape Shape7
- BorderColor = &H00000000&
- FillColor = &H00C07800&
- FillStyle = 0 'Solid
- Height = 1290
- Left = 75
- Top = 4125
- Width = 5640
- End
- Begin VB.Label Label11
- Alignment = 2 'Center
- BackStyle = 0 'Transparent
- Caption = "OK"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 12
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00FFFFFF&
- Height = 315
- Left = 1275
- TabIndex = 12
- Tag = "made by leo/jason"
- ToolTipText = "Accept Changes"
- Top = 3375
- Width = 1515
- End
- Begin VB.Label Label10
- Alignment = 2 'Center
- BackStyle = 0 'Transparent
- Caption = "Cancel"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 12
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00FFFFFF&
- Height = 315
- Left = 3075
- TabIndex = 11
- Tag = "made by leo/jason"
- ToolTipText = "A forget what i did i like the setting i have now"
- Top = 3375
- Width = 1515
- End
- Begin VB.Shape Shape5
- BackColor = &H00C07800&
- BackStyle = 1 'Opaque
- Height = 315
- Left = 1275
- Top = 3375
- Width = 1515
- End
- Begin VB.Shape Shape6
- BackColor = &H00C07800&
- BackStyle = 1 'Opaque
- Height = 315
- Left = 3075
- Top = 3375
- Width = 1515
- End
- Begin VB.Label Label12
- Alignment = 2 'Center
- BackStyle = 0 'Transparent
- Caption = "Preview Button"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 12
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00FFFFFF&
- Height = 315
- Left = 1050
- TabIndex = 13
- Tag = "made by leo/jason"
- ToolTipText = "This is a preview of a button and it's colors"
- Top = 6375
- Width = 4590
- End
- Begin VB.Shape Shape8
- BackColor = &H00C07800&
- BackStyle = 1 'Opaque
- Height = 315
- Left = 1050
- Top = 6375
- Width = 4590
- End
- Begin VB.Label Label9
- Alignment = 2 'Center
- BackColor = &H00000000&
- BackStyle = 0 'Transparent
- Caption = "Preview"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 12
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00FFFFFF&
- Height = 315
- Left = 75
- TabIndex = 10
- Tag = "made by leo/jason"
- ToolTipText = "This is the box that you can see color changes in"
- Top = 5475
- Width = 5640
- End
- Begin VB.Shape Shape3
- BorderColor = &H00000000&
- FillColor = &H00C07800&
- FillStyle = 0 'Solid
- Height = 1065
- Left = 75
- Top = 5775
- Width = 5640
- End
- Begin VB.Label Label8
- BackColor = &H00000000&
- BackStyle = 0 'Transparent
- Caption = "Color Box BG"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 12
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00FFFFFF&
- Height = 390
- Left = 3000
- TabIndex = 9
- Tag = "made by leo/jason"
- Top = 2325
- Width = 1965
- End
- Begin VB.Label Label7
- BackColor = &H00000000&
- BackStyle = 0 'Transparent
- Caption = "Button Bordor"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 12
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00FFFFFF&
- Height = 390
- Left = 225
- TabIndex = 8
- Tag = "made by leo/jason"
- Top = 2325
- Width = 1740
- End
- Begin VB.Label Label6
- BackColor = &H00000000&
- BackStyle = 0 'Transparent
- Caption = "Button Down Text"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 12
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00FFFFFF&
- Height = 390
- Left = 3000
- TabIndex = 7
- Tag = "made by leo/jason"
- Top = 1725
- Width = 2040
- End
- Begin VB.Label Label5
- BackColor = &H00000000&
- BackStyle = 0 'Transparent
- Caption = "Button Down BG"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 12
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00FFFFFF&
- Height = 390
- Left = 225
- TabIndex = 6
- Tag = "made by leo/jason"
- Top = 1725
- Width = 1815
- End
- Begin VB.Label Label4
- BackColor = &H00000000&
- BackStyle = 0 'Transparent
- Caption = "Text Box Text"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 12
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00FFFFFF&
- Height = 390
- Left = 3000
- TabIndex = 5
- Tag = "made by leo/jason"
- Top = 1125
- Width = 1515
- End
- Begin VB.Label Label3
- BackColor = &H00000000&
- BackStyle = 0 'Transparent
- Caption = "Text Box BG"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 12
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00FFFFFF&
- Height = 390
- Left = 225
- TabIndex = 4
- Tag = "made by leo/jason"
- Top = 1125
- Width = 1515
- End
- Begin VB.Label Label2
- BackColor = &H00000000&
- BackStyle = 0 'Transparent
- Caption = "Program BG"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 12
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00FFFFFF&
- Height = 390
- Left = 3000
- TabIndex = 3
- Tag = "made by leo/jason"
- Top = 525
- Width = 2415
- End
- Begin VB.Label Label1
- BackColor = &H00000000&
- BackStyle = 0 'Transparent
- Caption = "Program Text"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 12
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00FFFFFF&
- Height = 390
- Left = 225
- TabIndex = 1
- Tag = "made by leo/jason"
- Top = 525
- Width = 1515
- End
- Begin VB.Label tt
- Alignment = 2 'Center
- BackColor = &H00000000&
- BackStyle = 0 'Transparent
- Caption = "Change Program Colors"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 12
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00FFFFFF&
- Height = 315
- Left = 75
- TabIndex = 0
- Tag = "made by leo/jason"
- Top = 75
- Width = 5640
- End
- Begin VB.Shape Shape1
- BorderColor = &H00000000&
- FillColor = &H00C07800&
- FillStyle = 0 'Solid
- Height = 315
- Left = 75
- Top = 75
- Width = 5640
- End
- Begin VB.Shape Shape2
- BorderColor = &H00000000&
- FillColor = &H00C07800&
- FillStyle = 0 'Solid
- Height = 3390
- Left = 75
- Top = 375
- Width = 5640
- End
- Begin VB.Shape Shape4
- BorderColor = &H00000000&
- FillColor = &H00C07800&
- FillStyle = 0 'Solid
- Height = 315
- Left = 75
- Top = 5475
- Width = 5640
- End
- Begin VB.Shape Shape9
- BorderColor = &H00000000&
- FillColor = &H00C07800&
- FillStyle = 0 'Solid
- Height = 315
- Left = 75
- Top = 3825
- Width = 5640
- End
- Attribute VB_Name = "Form6"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private tMdBgColor
- Private tMdFgColor
- Private Declare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As Long
- Private MouseDownForm
- Private MouseDownFormX
- Private MouseDownFormY
- Private Type POINTAPI
- X As Long
- Y As Long
- End Type
- Private Sub tt_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- MouseDownForm = 1
- MouseDownFormX = X
- MouseDownFormY = Y
- End Sub
- Private Sub tt_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
- MouseDownForm = 0
- End Sub
- Private Sub tt_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
- DoEvents
- If MouseDownForm <> 1 Then
- Exit Sub
- End If
- Dim Z As POINTAPI
- Call GetCursorPos(Z)
- Form6.Top = (Z.Y * 15) - MouseDownFormY
- Form6.Left = (Z.X * 15) - MouseDownFormX
- End Sub
- Private Sub Check1_Click(Index As Integer)
- If Check1(Index).Value = 1 Then
- For X = 0 To Check1.UBound
- If X = Index Then
- Check1(X).Value = 0
- End If
- If Index = 0 Then
- ntempbb = Invis
- changecolor &HC07800, vbWhite, vbBlack, vbWhite, vbBlack, vbWhite, vbBlack, vbWhite
- UpdateColors
- End If
- If Index = 1 Then
- ntempbb = Invis
- changecolor 12632256, 4210752, 4210752, 8421504, 14737632, 14737632, 4210752, 8421504
- UpdateColors
- End If
- If Index = 2 Then
- ntempbb = Invis
- changecolor 12632319, 4210752, 0, 16777215, 8421504, 16744576, 16777215, 16761087
- UpdateColors
- End If
- If Index = 3 Then
- ntempbb = Invis
- changecolor 255, 16777215, 4210752, 16711680, 14737632, 16711680, 16777215, 16777215
- UpdateColors
- End If
- If Index = 4 Then
- ntempbb = Invis
- changecolor 192, 16384, 4210752, 8438015, 4210752, 32768, 16777215, 64
- UpdateColors
- End If
- UpdatePreview
- End If
- End Sub
- Private Sub Form_Load()
- MakeTopMost Form6.hwnd
- UpdateColors
- UpdatePreview
- End Sub
- Private Sub Label10_Click()
- Form6.Hide
- End Sub
- Private Sub Label11_Click()
- changecolor Picture1(1).BackColor, Picture1(0).BackColor, Picture1(6).BackColor, Picture1(4).BackColor, Picture1(5).BackColor, Picture1(2).BackColor, Picture1(3).BackColor, Picture1(7).BackColor
- Me.Hide
- End Sub
- Private Sub Label12_Click()
- MyMSG "Preview", "This Is A Preview"
- End Sub
- Private Sub Label12_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- Label12.ForeColor = tMdFgColor
- Shape8.BackColor = tMdBgColor
- End Sub
- Private Sub Label12_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
- UpdatePreview
- End Sub
- Private Sub Picture1_Click(Index As Integer)
- Picture1(Index).BackColor = SetColor
- UpdatePreview
- End Sub
- Private Sub Label11_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- Shape5.BackColor = vbWhite
- Label11.ForeColor = vbBlack
- End Sub
- Private Sub Label11_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
- Shape5.BackColor = &HC07800
- Label11.ForeColor = vbWhite
- End Sub
- Private Sub Label10_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- Shape6.BackColor = vbWhite
- Label10.ForeColor = vbBlack
- End Sub
- Private Sub Label10_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
- Shape6.BackColor = &HC07800
- Label10.ForeColor = vbWhite
- End Sub
- Private Sub UpdatePreview()
- Shape4.FillColor = Picture1(1).BackColor
- Shape3.FillColor = Picture1(1).BackColor
- Shape8.BackColor = Picture1(1).BackColor
- Label9.ForeColor = Picture1(0).BackColor
- Label12.ForeColor = Picture1(0).BackColor
- Picture9.BackColor = Picture1(7).BackColor
- tMdBgColor = Picture1(4).BackColor
- tMdFgColor = Picture1(5).BackColor
- Shape8.BorderColor = Picture1(6).BackColor
- Shape4.BorderColor = Picture1(6).BackColor
- Shape3.BorderColor = Picture1(6).BackColor
- Text1.BackColor = Picture1(2).BackColor
- Text1.ForeColor = Picture1(3).BackColor
- End Sub
- Private Sub UpdateColors()
- Picture1(0).BackColor = FgColor
- Picture1(1).BackColor = BgColor
- Picture1(2).BackColor = TxBgColor
- Picture1(3).BackColor = TxFgColor
- Picture1(4).BackColor = MdBgColor
- Picture1(5).BackColor = MdFgColor
- Picture1(6).BackColor = BdColor
- Picture1(7).BackColor = CbBgColor
- End Sub
-